package cn.ljy.authority.service;


import cn.ljy.authority.model.SysUserLoginLog;
import cn.ljy.authority.model.query.SysUserLoginLogQuery;

import javax.validation.constraints.NotNull;

public interface SysUserLoginLogService extends BaseService<SysUserLoginLog, SysUserLoginLogQuery>{

    /**
     * 获取今天指定用户连续登陆失败的次数
     * @param userId 指定管理 用户
     * @return 失败的次数
     */
    int getContinuousLoginErrorNumberInToday(@NotNull Integer userId);
}